Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

Linux Startup Script
~Dexter Fezhipisonflar 27.Dec.02 05:35 PM a Web browser
Domino Server 6.0 Linux - RedHat


Domino Service Script for Linux

1. Use VI to create your script:
vi /etc/init.d/domino

2. Add the following lines:
#!/bin/sh
#
# Start/stop the Lotus Domino server
#
# description: This script is used to start and stop the domino
# server as a background process. It will send
# the serverID password from a file to the server.
# Communication with the server may be done with a screen -r -D Domino when logged in as user 'notes'
#
# Usage: service domino start|stop
#
# process name: server, ...
#

# See how we were called.

case $1 in

start)

echo -n "Starting Domino server..."

su - notes -c "screen -d -m -S Domino /home/notes/startnotes"


echo "done."
;;

stop)
echo -n "Stopping Domino server. "
su - notes -c "cd /local/notesdata; /opt/lotus/bin/server -q"
;;

*)
echo "Usage: domino {start|stop}"
exit 1
;;

esac

exit 0
# End of the domino script


3. -- save that file --

4. Create another file in the notes home directory... I'm assuming you created the user 'notes' for the domino service.

vi /home/notes/startnotes

5. Add the following 2 lines and save
cd /local/notesdata
/opt/lotus/bin/server

6. make your scripts executable
chmod 755 /etc/init.d/domino
chmod 755 /home/notes/startnotes

7. Type 'service domino start'

8. Using webmin, or linuxconf you can optionally have domino started at bootup.

a. Webmin: click 'System' then 'Bootup/shutdown'. Find the Domino task and change its status to 'Start at boot'.

b. linuxconf: click 'Service Control' and scroll to the Domino service -- change startup to 'Automatic'


Notes:
* You need to have the screen RPM installed
* Scripts must be created by using 'root' user
* Direct server access is possible from ANY terminal!!
* access by logging in as user 'notes' and issue the following command:
screen -r -S Domino
* exit screen by typing CTL A - then Z




automatic start linux (~Umberto Fezfoo... 27.Dec.02)
. . search this forum on startup script... (~Anita Elrevitc... 27.Dec.02)
. . RE: automatic start linux (~Isaac Elfreema... 27.Dec.02)
. . Linux Startup Script (~Dexter Fezhipi... 27.Dec.02)
. . . . For those new to linux (~Chloe Quetvelu... 30.Dec.02)
. . . . RE: Linux Startup Script (~Ben Opfooverad... 31.Dec.02)
. . RE: automatic start linux (~Patti Quetfool... 13.Apr.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS